package net.nearst.oa.service;

import java.util.List;
import java.util.Map;

import net.nearst.oa.entity.UserInfo;
import net.nearst.oa.util.PagingBean;

public interface IUserInfoService {

	public abstract UserInfo getUserInfo(String userId);

	public abstract List<UserInfo> getAllUsers();
	
	public abstract List<UserInfo> getAllUsersByPage(PagingBean pagingBean);
	
	public abstract List<UserInfo> getUsersByCondition(PagingBean pagingBean,UserInfo queryUser);

	public abstract boolean updateUser(UserInfo user);

	public abstract boolean addUser(UserInfo user);

	public abstract boolean deleteUser(String userId);

	public abstract UserInfo login(Map<String, String> params);

	public abstract int getUserCount();

	public abstract int getUserCountByCondition(UserInfo queryUser);


}
